package org.example.dish;

import org.example.dish_pojo.DishTaste;
import org.example.dish_pojo.Result;
import org.example.dish_pojo.vo.QueryTaste;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "dishTaste")
public interface DishTasteFeign {

    @RequestMapping(value = "/dish-taste/tasteByDishId", method = RequestMethod.GET)
    public DishTaste tasteByDishId(@RequestParam("dishId") Integer dishId);
}
